package DBPack;

public class Rail {
     private int id;
     private String name;
     private String code;
     private String departure;
     private String arrival;
     private String type;
     
	public Rail(int id, String name, String code, String departure,
			String arrival, String type) {
		super();
		this.id = id;
		this.name = name;
		this.code = code;
		this.departure = departure;
		this.arrival = arrival;
		this.type = type;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDeparture() {
		return departure;
	}
	public void setDeparture(String departure) {
		this.departure = departure;
	}
	public String getArrival() {
		return arrival;
	}
	public void setArrival(String arrival) {
		this.arrival = arrival;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
     
	

}
